package com.mall.sso.service;

import com.mall.manager.pojo.TbUser;
import com.mall.pojo.TaotaoResult;

public interface RegisterService {

    /**
     * 校验用户的手机号码或者手机号是否已经注册过
     * @param param
     * @param type
     * @return
     */
    public TaotaoResult checkUserData(String param,int type);

    /**
     * 校验通过注册用户
     * @param user
     * @return
     */
    public TaotaoResult register(TbUser user);

}
